<?php
define("APIDIR","../api/");

include (APIDIR."requirements.php");

Client::beginToWrite();
$form=new Form();
$form->setAction("login.php");
$form->setMethod("POST");
$table=new Table();
$row=new Row();
$cell1=new Cell();
$cell1->add("Kullanıcı Adı: ");
$cell2=new Cell();
$inputName=new Input();
$inputName->setType("text");
$inputName->setName("name");
$cell2->add($inputName);
$row->add($cell1);
$row->add($cell2);
$table->add($row);
$row2=new Row();
$cell3=new Cell();
$cell3->setColspan("2");
$inputSubmit=new Input();
$inputSubmit->setType("submit");
$inputSubmit->setValue("Giriş Yap");
$cell3->add($inputSubmit);
$row2->add($cell3);
$table->add($row2);
$form->add($table);
Client::endToWrite($form->toString());
?>
